package com.easy.service;

import com.easy.bean.Ward;
import com.easy.util.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IWardService {
    List<Ward> getWard(@Param("ward") Ward ward, @Param("page") Page page);

    int addWard(Ward ward);

    int editWard(Ward ward);

    int delWard(int id);
    Ward getWardById(int id);
    int getCount(@Param("ward") Ward ward);

    List<String> getWardname();
}
